import request from "@/manager/base/RequestManager";
import CooperateOrderSolveRequest from "@/api/afterSale/cooperate/request/CooperateOrderSolveRequest";


/**
 * 创建协同工单
 *
 * @author 徐寿春
 * 2023/4/13 11:42
 */
export function createCooperateOrder(params?: any) {
    return request.post('after/sale/cooperate/createCooperateOrder', params)
}


/**
 * 创建协同工单记录
 *
 * @author 徐寿春
 * 2023/4/13 11:42
 */
export function createCooperateOrderRecord(params?: any) {
    return request.post('after/sale/cooperate/createCooperateOrderRecord', params)
}
/**
 * 获取协同工单详情
 *
 * @author 徐寿春
 * 2023/4/13 11:42
 */
export function getCooperateOrderInfo(params?: any) {
    return request.post('after/sale/cooperate/getCooperateOrderInfo', params)
}




/**
 * 受理协同工单
 *
 * @author 徐寿春
 * 2023/4/13 11:42
 */
export function acceptCurrentCooperateOrder(params?: any) {
    return request.post('after/sale/cooperate/acceptCurrentCooperateOrder', params)
}



/**
 * 解决协同工单
 *
 * @author 徐寿春
 * 2023/4/13 11:42
 */
export function resolveCooperate(params: CooperateOrderSolveRequest) {
    return request.post('after/sale/cooperate/resolveCooperate', params)
}



/**
 *  获取协同工单状态机
 *
 * @author 徐寿春
 * 2023/4/5 13:00
 */
export function getCooperateOrderStatusManager(params?: any) {
    return request.post('after/sale/cooperate/getCooperateOrderStatusManager', params)
}

